home *** CD-ROM | disk | FTP | other *** search
- property Elprimer, Sonid1, Sonid2
- global pantalla
-
- on getPropertyDescriptionList
- set caracteristica1 to [:]
- addProp(caracteristica1, #Elprimer, [#default: the memberNum of sprite the currentSpriteNum, #format: #integer, #comment: "A partir del cast:"])
- addProp(caracteristica1, #Sonid1, [#default: EMPTY, #format: #integer, #comment: "Sonido Pulsa:"])
- addProp(caracteristica1, #Sonid2, [#default: EMPTY, #format: #integer, #comment: "Sonido Roll:"])
- return caracteristica1
- end
-
- on mouseDown me
- set the memberNum of sprite the currentSpriteNum to Elprimer + 2
- if (Sonid1 = VOID) or (Sonid1 = EMPTY) then
- nothing()
- else
- puppetSound(3, Sonid1)
- end if
- forget(window "dia")
- cursor(-1)
- end
-
- on mouseEnter me
- set the memberNum of sprite the currentSpriteNum to Elprimer + 1
- if (Sonid2 = VOID) or (Sonid2 = EMPTY) then
- nothing()
- else
- puppetSound(3, Sonid2)
- end if
- cursor([71, 72])
- end
-
- on mouseLeave me
- set the memberNum of sprite the currentSpriteNum to Elprimer
- cursor(-1)
- end
-